<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>用Map方式创建对象</title>
		<script>
			//json格式{}，[],“，逗号，冒号
			var stu={
			   	name:"小宋",
				age:22,
				telephone:"13728388333",
				showSelf:function(){
					alert(this.name+","+this.age+"岁,手机号："+this.telephone);
				}
			};
			stu.showSelf();
			stu.age=24;
			stu.qq="2333";
			stu.showSelf();
		</script>
	</head>
	<body>
	</body>
</html>